package order.service.impl;

import order.dao.OrderbiaoDao;
import order.dao.impl.OrderbiaoDaoImpl;
import order.entity.Orderbiao;
import order.service.OrderbiaoService;

import java.util.List;

public class OrderbiaoServiceImpl implements OrderbiaoService {
    OrderbiaoDao dao=new OrderbiaoDaoImpl();

    @Override
    public List<Orderbiao> getList(int page, int pageSize) {
        return dao.getList(page,pageSize);
    }

    @Override
    public int UpOrder(Orderbiao o) {
        return dao.UpOrder(o);
    }

    @Override
    public int getCount() {
        return dao.getCount();
    }

    @Override
    public List<Orderbiao> getLike(int index) {
        return dao.getLike(index);
    }
}
